<h3>Forgot your password? 忘记密码？</h3>

<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
  <%= devise_error_messages! %>

  <div class="input-group"><span class="input-group-addon"><%= f.label :email %></span>
  <%= f.email_field :email, autofocus: true %></div>

  <div><%= f.submit "Send me reset password instructions 发送密码复位方式", :class=>"btn btn-primary",:role=>"button" %></div>
<% end %>
